import { put, call } from 'redux-saga/effects'
import axios from 'axios'

function * initList() {
    let list = yield call(axios.get, "/getList")
    list = list.data
    yield put({ type: "INIT", list })
}

export {
    initList
}